﻿using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Kata.Tests
{
    [TestFixture]
    public class CalculatorTests
    {
        [TestCase(0, 0, 0)]
        [TestCase(1, 2, 3)]
        [TestCase(100, 100, 200)]
        public void TestSum(int x, int y, int expected)
        {
            var calculator = new Calculator();
            Assert.AreEqual(expected, calculator.Sum(x, y), string.Format("The sum of {0} and {1} should be {2}.", x, y, expected));
        }
    }
}